﻿using System.Collections.Generic;
using System.Windows;

namespace RouteOptimization.ModelObjects
{
    public class Vertex
    {
        public int Id { get; set; }

        public int CityId { get; set; }

        public string Title { get; set; }

        // Point on map.
        public Coordinate Point { get; set; }

        /// <summary>
        /// Number of public transport routes available on this vertex.
        /// </summary>
        public ICollection<Route> Routes { get; set; }

        public double PaymentForChangeRoute { get; set; }

        /// <summary>
        /// Display order ov vertex in route.
        /// </summary>
        public int NumberInRoute { get; set; }
    }
}